

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <style>
        * {
            margin: 0;
            padding: 0;
            text-decoration: none;
            list-style-type: none;
        }
    </style>
    <title>Document</title>
</head>

<body>

<button class="button">b1</button>
<button class="button">b2</button>
<button class="button">b3</button>


</body>
<script type="text/javascript" src="../js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="../js/bootstrap.min.js"></script>
<link rel="stylesheet" href="../css/bootstrap.min.css">

<script type="text/javascript">


    document.getElementsByClassName()


    var AAA =  document.querySelectorAll('button');
    AAA.onclick = function () {
        console.log('AAA');
    }




</script>
</html>

